package org.hdax.service.impl;

import org.hdax.dao.PermissionDao;
import org.hdax.entity.Permission;
import org.hdax.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermissionServiceImpl implements PermissionService {

    @Autowired
    private PermissionDao permissionDao;
    @Override
    public List<Permission> getAll() {
        return permissionDao.getAll();
    }
}
